package com.example.demorabbitmq1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@SpringBootApplication
public class DemoRabbitmq1Application {

    public static void main(String[] args) {
        SpringApplication.run(DemoRabbitmq1Application.class, args);
    }

    @RequestMapping(value = "sss")
    @ResponseBody
    public Map Sss(){
        Map map=new HashMap();
        map.put("rr111r","1129992111");
        map.put("zzz","aaaa333aaaaaa");

        return  map;
    }
}
